import { createRouter, createWebHashHistory } from 'vue-router'

// 导入组件
import home from '@/components/home/Home'

// 定义路由规则
const routes = [
	{
		path :'/',
		component:Home,
		name :'Home'
	}
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
